package com.example.zhaohang.mynewtimeselect;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    //第一个点击的时间选择器
    public void one(View view) {
        Intent intent = new Intent();
        intent.setClass(this,TimeSelectOne.class );
        startActivity(intent);

    }

    //第二个点击的时间选择器
    public void two(View view) {
        Intent intent = new Intent();
        intent.setClass(this,TimeSelectTwo.class );
        startActivity(intent);
    }
}
